<!DOCTYPE html>
<html lang="zh">
  <head>
    <title>
        Hexo-常用操作 - 龙渊阁
      </title>
        <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no,email=no,adress=no">
    
    <meta name="theme-color" content="#000000" />
    
    <meta http-equiv="window-target" content="_top" />
    
    
    <meta name="description" content="预定义参数 参数 描述 默认值 layout 布局 title 标题 date 建立日期 文件建立日期 updated 更新日期 文件更新日期 comments 开启文章评论功能 true tags 标签（不适用于分页） categories 分类（不适用于分" />
    <meta name="generator" content="Hugo 0.92.2 with theme pure" />
    <title>Hexo-常用操作 - 龙渊阁</title>
    
    
    <link rel="stylesheet" href="https://dgvy.gitee.io/css/style.min.c00e498c25bb7dc4bbbe393ddf660fad93807bd5623bca196f72be6bb4f4dab6.css">
    
    <link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/9.15.10/styles/github.min.css" async>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.css" async>
    <meta property="og:title" content="Hexo-常用操作" />
<meta property="og:description" content="预定义参数 参数 描述 默认值 layout 布局 title 标题 date 建立日期 文件建立日期 updated 更新日期 文件更新日期 comments 开启文章评论功能 true tags 标签（不适用于分页） categories 分类（不适用于分" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://dgvy.gitee.io/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2017-10-27T23:55:27+00:00" />
<meta property="article:modified_time" content="2017-10-27T23:55:27+00:00" />

<meta itemprop="name" content="Hexo-常用操作">
<meta itemprop="description" content="预定义参数 参数 描述 默认值 layout 布局 title 标题 date 建立日期 文件建立日期 updated 更新日期 文件更新日期 comments 开启文章评论功能 true tags 标签（不适用于分页） categories 分类（不适用于分"><meta itemprop="datePublished" content="2017-10-27T23:55:27+00:00" />
<meta itemprop="dateModified" content="2017-10-27T23:55:27+00:00" />
<meta itemprop="wordCount" content="541">
<meta itemprop="keywords" content="Hexo,前端,博客," /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Hexo-常用操作"/>
<meta name="twitter:description" content="预定义参数 参数 描述 默认值 layout 布局 title 标题 date 建立日期 文件建立日期 updated 更新日期 文件更新日期 comments 开启文章评论功能 true tags 标签（不适用于分页） categories 分类（不适用于分"/>

    <!--[if lte IE 9]>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
      <![endif]-->

    <!--[if lt IE 9]>
        <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
      <![endif]-->
  </head>

  
  

  <body class="main-center theme-black" itemscope itemtype="http://schema.org/WebPage"><header class="header" itemscope itemtype="http://schema.org/WPHeader">
    <div class="slimContent">
      <div class="navbar-header">
        <div class="profile-block text-center">
          <a id="avatar" href="https://gitee.com/DGVY/" target="_blank">
            <img class="img-circle img-rotate" src="https://dgvy.gitee.io/logo.jpg" width="200" height="200">
          </a>
          <h2 id="name" class="hidden-xs hidden-sm">DGVY</h2>
          <h3 id="title" class="hidden-xs hidden-sm hidden-md">技术控 - 游戏宅</h3>
          <small id="location" class="text-muted hidden-xs hidden-sm"><i class="icon icon-map-marker"></i>Chengdu, Sichuan, China</small>
        </div><div class="search" id="search-form-wrap">
    <form class="search-form sidebar-form">
        <div class="input-group">
            <input type="text" class="search-form-input form-control" placeholder="搜索" />
            <span class="input-group-btn">
                <button type="submit" class="search-form-submit btn btn-flat" onclick="return false;"><i
                        class="icon icon-search"></i></button>
            </span>
        </div>
        <div class="ins-search">
            <div class="ins-search-mask"></div>
            <div class="ins-search-container">
                <div class="ins-input-wrapper">
                    <input type="text" class="ins-search-input" placeholder="想要查找什么..."
                        x-webkit-speech />
                    <button type="button" class="close ins-close ins-selectable" data-dismiss="modal"
                        aria-label="Close"><span aria-hidden="true">×</span></button>
                </div>
                <div class="ins-section-wrapper">
                    <div class="ins-section-container"></div>
                </div>
            </div>
        </div>
    </form>
</div>
        <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <nav id="main-navbar" class="collapse navbar-collapse" itemscope itemtype="http://schema.org/SiteNavigationElement" role="navigation">
        <ul class="nav navbar-nav main-nav">
            <li class="menu-item menu-item-home">
                <a href="/">
                    <i class="icon icon-home-fill"></i>
                  <span class="menu-title">Home</span>
                </a>
            </li>
            <li class="menu-item menu-item-archives">
                <a href="/posts/">
                    <i class="icon icon-archives-fill"></i>
                  <span class="menu-title">Archives</span>
                </a>
            </li>
            <li class="menu-item menu-item-categories">
                <a href="/categories/">
                    <i class="icon icon-folder"></i>
                  <span class="menu-title">Categories</span>
                </a>
            </li>
            <li class="menu-item menu-item-tags">
                <a href="/tags/">
                    <i class="icon icon-tags"></i>
                  <span class="menu-title">Tags</span>
                </a>
            </li>
            <li class="menu-item menu-item-about">
                <a href="/about/">
                    <i class="icon icon-cup-fill"></i>
                  <span class="menu-title">About</span>
                </a>
            </li>
        </ul>
      </nav>
    </div>
  </header>

<aside class="sidebar" itemscope itemtype="http://schema.org/WPSideBar">
  <div class="slimContent">
    
      <div class="widget">
    <h3 class="widget-title">公告</h3>
    <div class="widget-body">
        <div id="board">
            <div class="content"><p>世界上有两件事能够深深震撼人们的心灵</p><p> 一件是我们内心崇高的道德准则</p><p> 另一件是我们头顶灿烂的星空</p>
            </div>
        </div>
    </div>
</div>

      <div class="widget">
    <h3 class="widget-title"> 分类</h3>
    <div class="widget-body">
        <ul class="category-list">
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/C&#43;&#43;/" class="category-list-link">C&#43;&#43;</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/C/C&#43;&#43;/" class="category-list-link">C/C&#43;&#43;</a><span class="category-list-count">3</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/CUDA/" class="category-list-link">CUDA</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Demo/" class="category-list-link">Demo</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Hexo/" class="category-list-link">Hexo</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Hugo/" class="category-list-link">Hugo</a><span class="category-list-count">4</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/JetsonTX2/" class="category-list-link">JetsonTX2</a><span class="category-list-count">5</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Kinect/" class="category-list-link">Kinect</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Linux/" class="category-list-link">Linux</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Matlab/" class="category-list-link">Matlab</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/OpenCV/" class="category-list-link">OpenCV</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Qt/" class="category-list-link">Qt</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/SLAM/" class="category-list-link">SLAM</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/Ubuntu/" class="category-list-link">Ubuntu</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/database/" class="category-list-link">database</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/docker/" class="category-list-link">docker</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/vscode/" class="category-list-link">vscode</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E5%89%8D%E7%AB%AF/" class="category-list-link">前端</a><span class="category-list-count">2</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E5%9B%BE%E5%BD%A2%E5%AD%A6/" class="category-list-link">图形学</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F/" class="category-list-link">嵌入式</a><span class="category-list-count">6</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E6%9D%82%E4%B8%83%E6%9D%82%E5%85%AB/" class="category-list-link">杂七杂八</a><span class="category-list-count">1</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E8%99%9A%E6%8B%9F%E6%9C%BA/" class="category-list-link">虚拟机</a><span class="category-list-count">3</span></li>
            <li class="category-list-item"><a href="https://dgvy.gitee.io/categories/%E8%BD%AF%E4%BB%B6/" class="category-list-link">软件</a><span class="category-list-count">1</span></li>
        </ul>
    </div>
</div>
      <div class="widget">
    <h3 class="widget-title"> 标签</h3>
    <div class="widget-body">
        <ul class="tag-list">
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/ARM/" class="tag-list-link">ARM</a><span
                    class="tag-list-count">3</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/C&#43;&#43;/" class="tag-list-link">C&#43;&#43;</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/C/C&#43;&#43;/" class="tag-list-link">C/C&#43;&#43;</a><span
                    class="tag-list-count">3</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/CUDA/" class="tag-list-link">CUDA</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Demo/" class="tag-list-link">Demo</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/HTML/" class="tag-list-link">HTML</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Hexo/" class="tag-list-link">Hexo</a><span
                    class="tag-list-count">2</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Hugo/" class="tag-list-link">Hugo</a><span
                    class="tag-list-count">4</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/JetPack/" class="tag-list-link">JetPack</a><span
                    class="tag-list-count">4</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/JetsonTX2/" class="tag-list-link">JetsonTX2</a><span
                    class="tag-list-count">5</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Kinect/" class="tag-list-link">Kinect</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Linux/" class="tag-list-link">Linux</a><span
                    class="tag-list-count">3</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Markdown/" class="tag-list-link">Markdown</a><span
                    class="tag-list-count">3</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Matlab/" class="tag-list-link">Matlab</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/MySQL/" class="tag-list-link">MySQL</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/NSIS/" class="tag-list-link">NSIS</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/ORB_SLAM2/" class="tag-list-link">ORB_SLAM2</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/OSG/" class="tag-list-link">OSG</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/OpenCV/" class="tag-list-link">OpenCV</a><span
                    class="tag-list-count">2</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/OpenGL/" class="tag-list-link">OpenGL</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Proxmox-VE/" class="tag-list-link">Proxmox-VE</a><span
                    class="tag-list-count">3</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Qt/" class="tag-list-link">Qt</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/SLAM/" class="tag-list-link">SLAM</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/STM32/" class="tag-list-link">STM32</a><span
                    class="tag-list-count">2</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/ubuntu/" class="tag-list-link">Ubuntu</a><span
                    class="tag-list-count">7</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/VR/" class="tag-list-link">VR</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/VS2017/" class="tag-list-link">VS2017</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/Windows10/" class="tag-list-link">Windows10</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/database/" class="tag-list-link">database</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/freeglut/" class="tag-list-link">freeglut</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/python/" class="tag-list-link">python</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/ubuntu/" class="tag-list-link">ubuntu</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/vscode/" class="tag-list-link">vscode</a><span
                    class="tag-list-count">1</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/%E5%89%8D%E7%AB%AF/" class="tag-list-link">前端</a><span
                    class="tag-list-count">2</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/%E5%8D%9A%E5%AE%A2/" class="tag-list-link">博客</a><span
                    class="tag-list-count">2</span></li>
            
            
            <li class="tag-list-item"><a href="https://dgvy.gitee.io/tags/%E6%95%B0%E7%BB%84/" class="tag-list-link">数组</a><span
                    class="tag-list-count">1</span></li>
            
        </ul>

    </div>
</div>
      
<div class="widget">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget-body">
        <ul class="recent-post-list list-unstyled no-thumbnail">
            <li>
                <div class="item-inner">
                    <p class="item-title">
                        <a href="https://dgvy.gitee.io/2022/__attribute__formatprintf-A-B%E8%AF%AD%E6%B3%95%E8%A7%A3%E6%9E%90/" class="title">__attribute__((format(printf, A, B)))语法解析</a>
                    </p>
                    <p class="item-date">
                        <time datetime="2022-03-10 10:42:03 &#43;0800 CST" itemprop="datePublished">2022-03-10 Thu 10:42:03</time>
                    </p>
                </div>
            </li>
            <li>
                <div class="item-inner">
                    <p class="item-title">
                        <a href="https://dgvy.gitee.io/2022/C-%E5%A4%B4%E6%96%87%E4%BB%B6%E5%92%8C%E6%BA%90%E6%96%87%E4%BB%B6%E6%B3%A8%E9%87%8A%E8%A7%84%E8%8C%83/" class="title">C&#43;&#43;头文件和源文件注释规范</a>
                    </p>
                    <p class="item-date">
                        <time datetime="2022-03-07 09:01:14 &#43;0800 CST" itemprop="datePublished">2022-03-07 Mon 09:01:14</time>
                    </p>
                </div>
            </li>
            <li>
                <div class="item-inner">
                    <p class="item-title">
                        <a href="https://dgvy.gitee.io/2021/%E9%80%9A%E8%BF%87docker%E9%85%8D%E7%BD%AE%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E9%92%88%E5%AF%B9AM3358/" class="title">通过docker配置开发环境(针对AM3358)</a>
                    </p>
                    <p class="item-date">
                        <time datetime="2021-11-10 14:56:34 &#43;0800 CST" itemprop="datePublished">2021-11-10 Wed 14:56:34</time>
                    </p>
                </div>
            </li>
            <li>
                <div class="item-inner">
                    <p class="item-title">
                        <a href="https://dgvy.gitee.io/2021/PVE%E8%99%9A%E6%8B%9F%E6%9C%BA%E9%85%8D%E7%BD%AE%E7%A1%AC%E4%BB%B6%E7%9B%B4%E9%80%9A/" class="title">PVE虚拟机配置硬件直通</a>
                    </p>
                    <p class="item-date">
                        <time datetime="2021-10-15 15:34:57 &#43;0800 CST" itemprop="datePublished">2021-10-15 Fri 15:34:57</time>
                    </p>
                </div>
            </li>
            <li>
                <div class="item-inner">
                    <p class="item-title">
                        <a href="https://dgvy.gitee.io/2021/%E5%9C%A8PVE%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%AD%E5%AE%89%E8%A3%85Windows10/" class="title">在PVE虚拟机中安装Windows10</a>
                    </p>
                    <p class="item-date">
                        <time datetime="2021-10-14 22:23:16 &#43;0800 CST" itemprop="datePublished">2021-10-14 Thu 22:23:16</time>
                    </p>
                </div>
            </li>
        </ul>
    </div>
</div>
  </div>
</aside>

    
    
<aside class="sidebar sidebar-toc collapse" id="collapseToc" itemscope itemtype="http://schema.org/WPSideBar">
  <div class="slimContent">
    <h4 class="toc-title">文章目录</h4>
    <nav id="toc" class="js-toc toc">

    </nav>
  </div>
</aside>
<main class="main" role="main"><div class="content">
  <article id="-" class="article article-type-" itemscope
    itemtype="http://schema.org/BlogPosting">
    
    <div class="article-header">
      <h1 itemprop="name">
  <a
    class="article-title"
    href="/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/"
    >Hexo-常用操作</a
  >
</h1>

      <div class="article-meta">
        
<span class="article-date">
  <i class="icon icon-calendar-check"></i>&nbsp;
<a href="https://dgvy.gitee.io/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/" class="article-date">
  <time datetime="2017-10-27 23:55:27 &#43;0000 UTC" itemprop="datePublished">2017-10-27 Fri 23:55:27</time>
</a>
</span>
<span class="article-category">
  <i class="icon icon-folder"></i>&nbsp;
  <a class="article-category-link" href="/categories/%E5%89%8D%E7%AB%AF/"> 前端 </a>
  <a class="article-category-link" href="/categories/Hexo/"> Hexo </a>
</span>  
  <span class="article-tag">
    <i class="icon icon-tags"></i>&nbsp;
    <a class="article-tag-link" href="/tags/Hexo/"> Hexo </a>
    <a class="article-tag-link" href="/tags/%E5%89%8D%E7%AB%AF/"> 前端 </a>
    <a class="article-tag-link" href="/tags/%E5%8D%9A%E5%AE%A2/"> 博客 </a>
  </span>

	<span class="article-read hidden-xs">
	    <i class="icon icon-eye-fill" aria-hidden="true"></i>
	    <span id="busuanzi_container_page_pv">
			<span id="busuanzi_value_page_pv">0</span>
		</span>
	</span>
        <span class="post-comment"><i class="icon icon-comment"></i>&nbsp;<a href="/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/#comments"
            class="article-comment-link">评论</a></span>
		<span class="post-wordcount hidden-xs" itemprop="wordCount">字数统计: 541字</span>
		<span class="post-readcount hidden-xs" itemprop="timeRequired">阅读时长: 2分 </span>
      </div>
    </div>
    
      <div class="article-content" itemprop="articleBody">
      <h1 id="预定义参数">预定义参数</h1>
<table>
<thead>
<tr>
<th style="text-align:left">参数</th>
<th style="text-align:left">描述</th>
<th style="text-align:left">默认值</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><code>layout</code></td>
<td style="text-align:left">布局</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>title</code></td>
<td style="text-align:left">标题</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>date</code></td>
<td style="text-align:left">建立日期</td>
<td style="text-align:left">文件建立日期</td>
</tr>
<tr>
<td style="text-align:left"><code>updated</code></td>
<td style="text-align:left">更新日期</td>
<td style="text-align:left">文件更新日期</td>
</tr>
<tr>
<td style="text-align:left"><code>comments</code></td>
<td style="text-align:left">开启文章评论功能</td>
<td style="text-align:left">true</td>
</tr>
<tr>
<td style="text-align:left"><code>tags</code></td>
<td style="text-align:left">标签（不适用于分页）</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>categories</code></td>
<td style="text-align:left">分类（不适用于分页）</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><code>permalink</code></td>
<td style="text-align:left">覆盖文章网址</td>
<td style="text-align:left">　</td>
</tr>
</tbody>
</table>
<h1 id="引用块">引用块</h1>
<p><strong>在文章中插入引言，可包含作者、来源和标题</strong></p>
<pre><code>{% blockquote [author[, source]] [link] [source_link_title] %}
content
{% endblockquote %}
</code></pre>
<p>{% blockquote [佚名] [www.baidu.com] 《咏大海》%}
啊！
大海！！
全是水！！！
{% endblockquote %}</p>
<p><strong>没有提供参数，则只输出普通的 blockquote</strong></p>
<pre><code>{% blockquote %}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
{% endblockquote %}
</code></pre>
<p>{% blockquote %}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
{% endblockquote %}</p>
<p><strong>引用书上的句子</strong></p>
<pre><code>{% blockquote David Levithan, Wide Awake %}
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
{% endblockquote %}
</code></pre>
<p>{% blockquote David Levithan, Wide Awake %}
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
{% endblockquote %}</p>
<p><strong>引用 Twitter</strong></p>
<pre><code>{% blockquote @DevDocs https://twitter.com/devdocs/status/356095192085962752 %}
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
{% endblockquote %}
</code></pre>
<p>{% blockquote @DevDocs <a href="https://twitter.com/devdocs/status/356095192085962752">https://twitter.com/devdocs/status/356095192085962752</a> %}
NEW: DevDocs now comes with syntax highlighting. <a href="http://devdocs.io">http://devdocs.io</a>
{% endblockquote %}</p>
<p><strong>引用网络上的文章</strong></p>
<pre><code>{% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}
</code></pre>
<p>{% blockquote Seth Godin <a href="http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html">http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html</a> Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}</p>
<h1 id="代码块">代码块</h1>
<p><strong>在文章中插入代码</strong></p>
<pre><code>{% codeblock [title] [lang:language] [url] [link text] %}
code snippet
{% endcodeblock %}
</code></pre>
<p>{% codeblock [title] [lang:language] [url] [link text] %}
code snippet
{% endcodeblock %}</p>
<p><strong>普通的代码块</strong></p>
<pre><code>{% codeblock %}
alert('Hello World!');
{% endcodeblock %}
</code></pre>
<p>{% codeblock %}
alert(&lsquo;Hello World!');
{% endcodeblock %}</p>
<p><strong>指定语言</strong></p>
<pre><code>{% codeblock lang:objc %}
[rectangle setX: 10 y: 10 width: 20 height: 20];
{% endcodeblock %}
</code></pre>
<p>{% codeblock lang:objc %}
[rectangle setX: 10 y: 10 width: 20 height: 20];
{% endcodeblock %}</p>
<p><strong>附加说明</strong></p>
<pre><code>{% codeblock Array.map %}
array.map(callback[, thisArg])
{% endcodeblock %}
</code></pre>
<p>{% codeblock Array.map %}
array.map(callback[, thisArg])
{% endcodeblock %}</p>
<p><strong>附加说明和网址</strong></p>
<pre><code>{% codeblock _.compact http://underscorejs.org/#compact Underscore.js %}
_.compact([0, 1, false, 2, '', 3]);
=&gt; [1, 2, 3]
{% endcodeblock %}
</code></pre>
<p>{% codeblock _.compact <a href="http://underscorejs.org/#compact">http://underscorejs.org/#compact</a> Underscore.js %}
_.compact([0, 1, false, 2, &lsquo;&rsquo;, 3]);
=&gt; [1, 2, 3]
{% endcodeblock %}</p>

    </div>
    <div class="article-footer">
<blockquote class="mt-2x">
  <ul class="post-copyright list-unstyled">
    <li class="post-copyright-link hidden-xs">
      <strong>本文链接: </strong>
      <a href="https://dgvy.gitee.io/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/" title="Hexo-常用操作" target="_blank" rel="external">https://dgvy.gitee.io/2017/Hexo-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/</a>
    </li>
    <li class="post-copyright-license">
      <strong>License：</strong><a href="http://creativecommons.org/licenses/by/4.0/deed.zh" target="_blank" rel="external">CC BY 4.0 CN</a>
    </li>
  </ul>
</blockquote>

<div class="panel panel-default panel-badger">
  <div class="panel-body">
    <figure class="media">
      <div class="media-left">
        <a href="https://gitee.com/DGVY/" target="_blank" class="img-burn thumb-sm visible-lg">
          <img src="https://dgvy.gitee.io/logo.jpg" class="img-rounded w-full" alt="">
        </a>
      </div>
      <div class="media-body">
        <h3 class="media-heading"><a href="https://gitee.com/DGVY/" target="_blank"><span class="text-dark">DGVY</span><small class="ml-1x">技术控 - 游戏宅</small></a></h3>
        <div>我欲醉眠卿且去，明朝有意抱琴来</div>
      </div>
    </figure>
  </div>
</div>
    </div>
  </article>
<section id="comments">
</section>

</div><nav class="bar bar-footer clearfix" data-stick-bottom>
    <div class="bar-inner">
        <ul class="pager pull-left">
            <li class="prev">
                <a href="https://dgvy.gitee.io/2017/NSIS-%E8%B0%83%E8%AF%95%E6%8A%80%E5%B7%A7/" title="NSIS-调试技巧"><i
                        class="icon icon-angle-left"
                        aria-hidden="true"></i><span>&nbsp;&nbsp;下一篇</span></a>
            </li>
            <li class="next">
                <a href="https://dgvy.gitee.io/2017/MatlabR2017a%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/"
                    title="MatlabR2017a下载安装教程"><span>上一篇&nbsp;&nbsp;</span><i
                        class="icon icon-angle-right" aria-hidden="true"></i></a>
            </li>
            
            <li class="toggle-toc">
                <a class="toggle-btn collapsed" data-toggle="collapse" href="#collapseToc" aria-expanded="false"
                    title="文章目录" role="button">
                    <span>[&nbsp;</span><span>文章目录</span>
                    <i class="text-collapsed icon icon-anchor"></i>
                    <i class="text-in icon icon-close"></i>
                    <span>]</span>
                </a>
            </li>
        </ul>
        
        <button type="button" class="btn btn-fancy btn-donate pop-onhover bg-gradient-warning" data-toggle="modal"
            data-target="#donateModal"><span>赏</span></button>
        
        <div class="bar-right">
            <div class="share-component" data-sites="weibo,qq,wechat,facebook,twitter"
                data-mobile-sites="weibo,qq,qzone"></div>
        </div>
    </div>
</nav>


<div class="modal modal-center modal-small modal-xs-full fade" id="donateModal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content donate">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                    aria-hidden="true">&times;</span></button>
            <div class="modal-body">
                <div class="donate-box">
                    <div class="donate-head">
                        <p>感谢您的支持,我会继续努力的!</p>
                    </div>
                    <div class="tab-content">
                        <div role="tabpanel" class="tab-pane fade active in" id="alipay">
                            <div class="donate-payimg">
                                <img src="https://dgvy.gitee.io/donate/alipay.jpg"
                                    alt="扫码支持" title="扫一扫" />
                            </div>
                            <p class="text-muted mv">扫码打赏, 多少你说了算~</p>
                            <p class="text-grey">打开支付宝扫一扫，即可进行扫码打赏哦~</p>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="wechatpay">
                            <div class="donate-payimg">
                                <img src="https://dgvy.gitee.io/donate/wechatpay.jpg"
                                    alt="扫码支持" title="扫一扫" />
                            </div>
                            <p class="text-muted mv">扫码打赏, 多少你说了算~</p>
                            <p class="text-grey">打开微信扫一扫，即可进行扫码打赏哦</p>
                        </div>
                    </div>
                    <div class="donate-footer">
                        <ul class="nav nav-tabs nav-justified" role="tablist">
                            <li role="presentation" class="active">
                                <a href="#alipay" id="alipay-tab" role="tab" data-toggle="tab" aria-controls="alipay"
                                    aria-expanded="true"><i class="icon icon-alipay"></i> 支付宝</a>
                            </li>
                            <li role="presentation" class="">
                                <a href="#wechatpay" role="tab" id="wechatpay-tab" data-toggle="tab"
                                    aria-controls="wechatpay" aria-expanded="false"><i class="icon icon-wepay"></i>
                                    微信支付</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</main><footer class="footer" itemscope itemtype="http://schema.org/WPFooter">
<ul class="social-links">
    <li><a href="https://gitee.com/DGVY/" target="_blank" title="coding" data-toggle=tooltip data-placement=top >
            <i class="icon icon-coding"></i></a></li>
    <li><a href="mailto:like_1996@foxmail.com/" target="_blank" title="email" data-toggle=tooltip data-placement=top >
            <i class="icon icon-email"></i></a></li>
    <li><a href="https://gitee.com/DGVY/" target="_blank" title="gitee" data-toggle=tooltip data-placement=top >
            <i class="icon icon-gitee"></i></a></li>
    <li><a href="https://github.com/DGVY/" target="_blank" title="github" data-toggle=tooltip data-placement=top >
            <i class="icon icon-github"></i></a></li>
    <li><a href="https://dgvy.gitee.io/index.xml" target="_blank" title="rss" data-toggle=tooltip data-placement=top >
            <i class="icon icon-rss"></i></a></li>
</ul>
  <div class="copyright">
    &copy;2017  -
    2022
    <div class="publishby">
        Theme by <a href="https://github.com/xiaoheiAh" target="_blank"> xiaoheiAh </a>base on<a href="https://github.com/xiaoheiAh/hugo-theme-pure" target="_blank"> pure</a>.
    </div>
  </div>
</footer>

<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_SVG"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            showMathMenu: false, //disables context menu
            tex2jax: {
            inlineMath: [ ['$','$'], ['\\(','\\)'] ]
           }
    });
</script>


<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
<script>
    window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')
</script>
<script type="text/javascript" src="https://cdn.staticfile.org/highlight.js/9.15.10/highlight.min.js"></script>
<script type="text/javascript" src="https://cdn.staticfile.org/highlight.js/9.15.10/languages/python.min.js" defer></script>
<script type="text/javascript" src="https://cdn.staticfile.org/highlight.js/9.15.10/languages/javascript.min.js" defer></script><script>
    hljs.configure({
        tabReplace: '    ', 
        classPrefix: ''     
        
    })
    hljs.initHighlightingOnLoad();
</script>
<script src="https://dgvy.gitee.io/js/application.min.a94ab19cb63a95c8d7fbd7b85cab3ddeea8c369bdf75b9cab6708787ead123af.js"></script>
<script src="https://dgvy.gitee.io/js/plugin.min.19c5bcb2fb0789ab4f2b7834e5ceb5e92635645605bab902c1024b25f1502364.js"></script>

<script>
    (function (window) {
        var INSIGHT_CONFIG = {
            TRANSLATION: {
                POSTS: '文章',
                PAGES: '页面',
                CATEGORIES: '分类',
                TAGS: '标签',
                UNTITLED: '(未命名)',
            },
            ROOT_URL: 'https:\/\/dgvy.gitee.io\/',
            CONTENT_URL: 'https:\/\/dgvy.gitee.io\/\/searchindex.json ',
        };
        window.INSIGHT_CONFIG = INSIGHT_CONFIG;
    })(window);
</script>
<script type="text/javascript" src="https://dgvy.gitee.io/js/insight.min.4a2d52de4bfff73e0c688404fe3d17c9a3ae12d9888e1e1ac9c690e4890de2ded50fe55f2b819c2ba55435a76f396f3ea6805765f0b0af5635cdf74ea459eab0.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.min.js"></script>
<script>
    tocbot.init({
        
        tocSelector: '.js-toc',
        
        contentSelector: '.js-toc-content',
        
        headingSelector: 'h1, h2, h3',
        
        hasInnerContainers: true,
    });
</script>

<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  </body>
</html>
